<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    .parent{
        width: 1000px;
        height: 800px;
        background: pink;
        display: flex;
        /* flex-direction: column; */
            justify-content: space-between; 
        /* align-items: center; */
        flex-wrap: wrap;
    }
    .parent>div{
        width: 230px;
        height: 300px;
    }
    /* .parent>child2{ 
        width: 230px;
        height: 500px;
    }*/
    .one{
        background: skyblue;
    }
    .two{
        background: salmon;
    }
    .three{
        background: yellowgreen;
    }
    .four{
        background: orangered;
    }
    </style>
</head>
<body>
    <div class="parent">
        <div class="one"></div>
        <div class="two"></div>
        <div class="three"></div>
        <div class="four"></div>  
        <div class="one"></div>
        <div class="two"></div>
        <div class="three"></div>
        <div class="four"></div>         
    </div>
</body>
</html>